-- GENERATED SPELL FOR [Dark Iron Insurgent] --


function spell0_1169(pUnit, Event) --@Stoneform,Self--
pUnit:FullCastSpellOnTarget(7020,pUnit)
pUnit:RegisterEvent('Sorts_1169', 15000, 1)
end

function Sorts_1169(pUnit, Event)
local choix_sorts_1169 = math.random(0, 0)
if choix_sorts_1169 == 0 then
pUnit:RegisterEvent('spell0_1169', 1, 1)
end
end

function mob1169_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1169', math.random(1500, 3000), 1)
end

function mob1169_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1169_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1169_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1169, 1, 'mob1169_Action')
RegisterUnitEvent(1169, 2, 'mob1169_Leave')
RegisterUnitEvent(1169, 3, 'mob1169_Kill')
RegisterUnitEvent(1169, 4, 'mob1169_Die')
